//
//  HTPopverViewController.swift
//  mySinaBlog
//
//  Created by whtapple on 3/27/16.
//  Copyright © 2016 whtapple. All rights reserved.
//

import UIKit

class HTPopverViewController: UITableViewController {
    let reuseIdentifier = "reuseIdentifier"
    override func viewDidLoad() {
        super.viewDidLoad()
        tableView.separatorStyle =  UITableViewCellSeparatorStyle.None
        tableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: reuseIdentifier)
    }
    
    
    // MARK: - Table view data source
    
    
    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return titles.count
    }
    
    
    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCellWithIdentifier(reuseIdentifier, forIndexPath: indexPath)

        cell.textLabel!.text = titles[indexPath.row]
        return cell
    }
  

    private lazy var titles = ["首页","朋友圈","群微博","我的微博","新浪微博"]

}
